package com.qi.demo01.Singleton;

/**
 * @author zjq
 * @date 2020/3/30 20:30
 */
public class Holder {
    private Holder() {

    }

    public static Holder getInstance() {
        return InnerClass.HOLDER;
    }

    public static class InnerClass {
        private static final Holder HOLDER = new Holder();
    }
}
